implicit val name1: String = "Tom"
//隐式参数
def testFunction(implicit name: String) = {
  println("the name  " + name)
}
testFunction

//隐式函数
def smaller[T](a: T, b: T)(implicit order: T => Ordered[T]) = if (a < b) a else b
smaller(100,50)
smaller("hello","abc")
